Self-monitoring of behavior